package com.euond.permission.service;

import com.euond.common.core.service.BaseService;
import com.euond.permission.entities.ResourcePermission;

import java.util.List;

/**
 * Created by user on 2017/11/9.
 */
public interface ResourcePermissionService extends BaseService<ResourcePermission> {
    /**
     * 根据资源ID查询权限值
     * @param resourceId
     * @return
     */
    public List<ResourcePermission> findResourcePermissionByResourceId(long resourceId);

    /**
     * 按资源ID删除权限值
     * @param resourceId
     * @return
     */
    public void deleteResourcePermissionByResourceId(Long resourceId);
}

